
<link  href="/stylesheets/tests.css" type="text/css" rel="stylesheet" media="screen">

<br/>
<p  class="smallNav">机构管理>>量表</p>

<div style="margin: 15px 0 10px 0">
</div>


<% form_for :org, :url => {:action => "update_org_tests"} do |f| %>
  <%= hidden_field_tag "id", @org.id %>
  <p>
    机构：<%= @org.username %>
  </p>
  <div style="margin: 20px 0 20px 20px">
    <% @tests.each_with_index do |test, index| %>
      <%= check_box_tag "org[test_ids][]", test.id, @org.tests.include?(test) %>
      <%= test.name %>
      <% if index%3 == 2 %>
       <br />
      <% else %>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
      <% end %>
    <% end %>
  </div>
  <%= f.submit "提交" %>
<% end %>

